package week_02.shuffle_deck.god_of_gamble;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.*;

public class god_of_gamble {
    public static void main(String[] args) {
        Integer[] a=new Integer[26];
        Integer[] b=new Integer[26];
        for (int i=0;i<26;i++){
            a[i]=i+1;
        }
        for (int i=0;i<26;i++){
            b[i]=i+27;
        }
        ArrayList<Integer> cardF=new ArrayList<>();
        ArrayList<Integer> cardA=new ArrayList<>();
        ArrayList<Integer> cards=new ArrayList<>();
        cardF.addAll(Arrays.asList(a));
        cardF.sort(Comparator.reverseOrder());
        cardA.addAll(Arrays.asList(b));
        for (int i=0;i<26;i++){
            cards.add(cardF.get(i));
            cards.add(cardA.get(i));
        }
        System.out.println(cards);
    }
}
